#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "dominion.h"
#include "interface.h"
#include "rngs.h"

int testGreatHallsPlayed(int handPos, int player, struct gameState *state, int choice1, int choice2)
{
	int cardtemp1 = 0;
	int cardtemp2 = 0;

	cardtemp1 = numHandCard(state);
	actions1 = state->numActions;
	greatHallsPlayed(handPos, player, state, choice1, choice2);
	cardtemp2 = numHandCard(state);
	actions2 = state->numActions;


	if( (cardtemp1-1) != cardtemp2)
	{
		printf("The number of cards did not add up correctly.\n");
		return 1;
	}

	if( (actions1 + 1) != (actions2))
	{
		printf("The number of actions did not match.\n");
		return 1;
	}
	return 0;
}

int main(int argc, char *argv[])
{
	struct gameState myGame;
	int kingdomCards[10];
	myGame.initializeGame(2, kingdomCards, 1,myGame);
	state->hand[gameState->whoseTurn][0] = curse;
	testGreatHallsPlayed(0,myGame->whoseTurn, myGame, 0, 1);
}